all:
#	gcc -o web_server server.c
#	g++ -o service service.cpp 
#	g++ -o main service.cpp -std=c++17 -lcurl -ljsoncpp -lcrypto -lssl -I/usr/include/jsoncpp -lportaudio -lasound
	g++ -o main service.cpp -std=c++17 -lcurl -ljsoncpp -lcrypto -lssl -I/usr/include/jsoncpp -lportaudio -lasound -lpthread
	chmod 777 main
	
clean: 
	rm -rf web_server
	rm -rf service
	rm -rf main
	rm -rf *.pcm
	rm -rf *.mp3

run: all
	./main
# http://localhost:8080/

# 编译gpt + 语言识别命令
# g++ -o main main.cpp -std=c++17 -lcurl -ljsoncpp -lcrypto -lssl -I/usr/include/jsoncpp -lportaudio -lasound
# 添加了线程
# g++ -o main service.cpp -std=c++17 -lcurl -ljsoncpp -lcrypto -lssl -I/usr/include/jsoncpp -lportaudio -lasound -lpthread